import request from '@/utils/request'
import { ResultVoid, DeepRequired } from '../../interface'

/**
 * 根据id删除聊天对话
 * /chat/chatList/{id}
 */
export function deleteChatChatListById(params: DeleteChatChatListByIdParams) {
  return request.delete<DeepRequired<ResultVoid>>(`/chat/chatList/${params.id}`)
}

interface DeleteChatChatListByIdParams {
  id: number
}
